<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>工具箱 - 创意工作台</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --primary-color: #2c3e50;
            --accent-color: #3498db;
            --card-bg: #ffffff;
            --text-color: #333;
        }

        body {
            font-family: 'Segoe UI', system-ui, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
            margin: 0;
            padding: 40px 20px;
        }

        .toolbox-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .grid-title {
            text-align: center;
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 2rem;
            position: relative;
            display: inline-block;
        }

        .grid-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--accent-color);
        }

        .tools-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            padding: 20px;
        }

        .tool-card {
            background: var(--card-bg);
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .tool-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        }

        .tool-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg,
                transparent 25%,
                rgba(52, 152, 219, 0.1) 50%,
                transparent 75%);
            animation: shine 3s infinite;
        }

        @keyframes shine {
            100% {
                transform: translate(50%, 50%);
            }
        }

        .tool-icon {
            font-size: 2.5rem;
            color: var(--accent-color);
            margin-bottom: 20px;
            transition: transform 0.3s;
        }

        .tool-card:hover .tool-icon {
            transform: scale(1.1);
        }

        .tool-title {
            font-size: 1.4rem;
            color: var(--primary-color);
            margin-bottom: 15px;
            font-weight: 600;
        }

        .tool-desc {
            color: #666;
            line-height: 1.6;
            font-size: 0.95rem;
        }

        /* 响应式设计 */
        @media (max-width: 992px) {
            .tools-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .tools-grid {
                grid-template-columns: 1fr;
            }

            .grid-title {
                font-size: 2rem;
            }
        }
    </style>
</head>
<body>
    <div class="toolbox-container">
        <h2 class="grid-title">创意工具箱</h2>
        <div class="tools-grid">
            <!-- 工具项 1 -->
            <a href="/tools/color-picker" class="tool-card">
                <i class="fas fa-palette tool-icon"></i>
                <h3 class="tool-title">色彩提取器</h3>
                <p class="tool-desc">智能识别图片色彩方案，生成专业调色板</p>
            </a>

            <!-- 工具项 2 -->
            <a href="/tools/image-compress" class="tool-card">
                <i class="fas fa-file-image tool-icon"></i>
                <h3 class="tool-title">图片优化器</h3>
                <p class="tool-desc">批量压缩图片大小，保持画质完美</p>
            </a>

            <!-- 工具项 3 -->
            <a href="/tools/code-format" class="tool-card">
                <i class="fas fa-code tool-icon"></i>
                <h3 class="tool-title">代码格式化</h3>
                <p class="tool-desc">支持10+语言的智能代码美化工具</p>
            </a>

            <!-- 工具项 4 -->
            <a href="/tools/md-editor" class="tool-card">
                <i class="fas fa-markdown tool-icon"></i>
                <h3 class="tool-title">Markdown 编辑器</h3>
                <p class="tool-desc">实时预览的沉浸式写作工具</p>
            </a>

            <!-- 工具项 5 -->
            <a href="/tools/qrcode-gen" class="tool-card">
                <i class="fas fa-qrcode tool-icon"></i>
                <h3 class="tool-title">二维码生成器</h3>
                <p class="tool-desc">自定义样式二维码一键生成</p>
            </a>

            <!-- 工具项 6 -->
            <a href="/tools/data-vis" class="tool-card">
                <i class="fas fa-chart-bar tool-icon"></i>
                <h3 class="tool-title">数据可视化</h3>
                <p class="tool-desc">快速生成交互式图表报告</p>
            </a>
        </div>
    </div>
</body>
</html>